//
//  695. 岛屿的最大面积.swift
//  LeetCodeTrain
//
//  Created by rjb on 2021/8/28.
//  Copyright © 2021 rjb. All rights reserved.
//

import Foundation
class Solution695 {
    func maxAreaOfIsland(_ grid: [[Int]]) -> Int {
        
        return 1
    }
    static func test() {
        let solution = Solution695()
        let grid = [
            [0,0,1,0,0,0,0,1,0,0,0,0,0],
            [0,0,0,0,0,0,0,1,1,1,0,0,0],
            [0,1,1,0,1,0,0,0,0,0,0,0,0],
            [0,1,0,0,1,1,0,0,1,0,1,0,0],
            [0,1,0,0,1,1,0,0,1,1,1,0,0],
            [0,0,0,0,0,0,0,0,0,0,1,0,0],
            [0,0,0,0,0,0,0,1,1,1,0,0,0],
            [0,0,0,0,0,0,0,1,1,0,0,0,0]]
        let result = solution.maxAreaOfIsland(grid)
        print(result)
    }
}
